|
Property
|
Description
|
Values
|
Example
|
Font Properties
|


|
font-size (inherited)
|
Sets size of text
|
size (pt, in, cm, px)
percentage of normal size
relative:
xx-large, x-large, large, medium, small, x-small, xx-small, larger, smaller
|
{ font-size: 12pt }
{ font-size: 200% }
{ font-size: x-large }
|


|
font-family (inherited)
|
Sets typeface and alternates (in order of preference)
|
typeface name
font family name
|
{ font-family: "Trebuchet MS," "Sans-serif" }
|


|
font-weight (inherited)
|
Sets weight of type
|
normal
bold
(other options will be supported later)
|
{ font-weight: bold }
|


|
font-style (inherited)
|
Italicizes text
|
normal
italic
(more options will be available later; 'oblique smallcaps' available in IE4 only)
|
{ font-style: italic }
|

|
font-variant (inherited)
|
specifies font variant
|
smallcaps
(more options will be available later)
|
{ font-variant: smallcaps }
|

|
@font-face
|
specifies a source location for a font not present on the user's system
(see the note below this table)
|
@font-face { font-family: (font-family) ; url(URL); }
|
@font-face comic { src:url(http://site/comicbold.eot); }
|